package com.myproject.filmrecommendationsys.util;

/**
 * author:wzy
 * version:1.0
 */
public enum ResultCodeEnum {
    //必须写在顶部
    SUCCESS(200,"成功"),
    FAIL(201, "失败"),
    SERVICE_ERROR(2012, "服务异常"),
    ILLEGAL_REQUEST( 204, "非法请求"),
    PAY_RUN(205, "支付中"),
    ARGUMENT_VALID_ERROR(206, "参数校验错误");

    private Integer code;
    private String msg;
    private ResultCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
